<style type="text/css">
    /*#resourceModal {*/
    /*left:39%*/
    /*}*/
</style>
<h3 class="page-title">检查任务管理</h3>
<div class="tabbable-custom">
    <div class="portlet">
        <div class="portlet-title">
            <button class="btn btn-success title-action" ng-click="checkTaskGrid.add()"
                    tabindex="0">
                <i class="fa fa-plus"></i> 新建任务
            </button>
            <a href="javascript:void(0);" class="title-operation search-expand">筛选</a>

            <div class="title-search-box">
                <input type="text" placeholder="请输入任务名称" class="search-field"
                       style="width: 180px;" maxlength="100" ng-model="checkTaskGrid.query.quickSearchName">
                <a class="fa fa-search" ng-click="checkTaskGrid.query(checkTaskGrid.query.quickSearch = 1)"></a>
            </div>
        </div>
        <div class="portlet-search-body" style="display: none;">
            <form class="form-inline" role="form">
                <div class="form-group">
                    <div class="col-md-4">
                        <div class="input-icon">
                            <i class="fa fa-user"></i>
                            <input class="form-control" placeholder="任务名称" ng-model="checkTaskGrid.query.taskTitle">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-4">
                        <div class="input-icon">
                            <i class="fa fa-mobile-phone"></i>
                            <select class="form-control" name="status" ng-model="checkTaskGrid.query.taskType"
                                    style="width: 200px;color: #b3b3b3;"
                                    ng-options="opt.value as opt.name for opt in options.checkTaskType">
                                <option value="">-- 任务类型 --</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-4">
                        <div class="input-icon">
                            <i class="fa fa-mobile-phone"></i>
                            <select class="form-control" name="status" ng-model="checkTaskGrid.query.status"
                                    style="width: 200px;color: #b3b3b3;"
                                    ng-options="opt.value as opt.name for opt in options.CHECK_TASK_STATUS">
                                <option value="">-- 任务状态 --</option>
                            </select>
                        </div>
                    </div>
                </div>
                <button class="btn btn-primary" ng-click="checkTaskGrid.query(checkTaskGrid.query.quickSearch = 0)"><i
                        class="fa fa-search"></i> 搜索
                </button>
                <button class="btn btn-primary" ng-click="checkTaskGrid.reset()">
                    <i class="fa fa-rotate-left"></i> 重置
                </button>
            </form>
        </div>
        <div class="portlet-body" style="width: 100%">
            <table ed-grid="checkTaskGrid" class="table table-striped table-bordered table-hover dataTable"
                   ed-url="checkTask/query.do" ed-model="checkTask" style="width: 100%">
                <thead>
                <tr>
                    <th ed-data="_index"></th>
                    <th ed-data="taskTitle" style="width:150px;" id="checkBox">任务名称</th>
                    <th ed-data="taskType | code : 'checkTaskType'" style="width:100px;">任务类型</th>
                    <th ed-data="status | code: 'CHECK_TASK_STATUS'" style="width:100px;">状态</th>
                    <th ed-data="percent" style="width:100px;">完成率</th>
                    <th ed-data="publishTime" style="width:100px;">发布时间</th>
                    <th ed-data="completeTime" style="width:100px;">结束时间</th>
                    <th style="width:150px;">操作</th>
                </tr>
                </thead>
            </table>
        </div>
    </div>
</div>

<div ed-modal="checkTaskAddModal" data-options="width:'600px', static:true,icon: 'fa-user'">
    <div class="form" style="overflow: auto;height: 300px;">
        <form style="padding-left: 90px;" action="#" class="form-horizontal form-row-seperated w5c-form"
              w5c-form-validate novalidate name="validateForm">
            <div class="form-body">
                <div class="row">
                    <div class="col-md-9">
                        <div class="form-group">
                            <label class="col-md-4 control-label"><span class="required">*</span>任务名称</label>

                            <div class="col-md-8">
                                <input type="text" class="form-control" name="taskTitle"
                                       ng-model="checkTask.taskTitle" required>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-9">
                        <div class="form-group">
                            <label class="col-md-4 control-label"><span class="required">*</span>任务类型</label>

                            <div class="col-md-8">
                                <select class="form-control" name="taskType" ng-model="checkTask.taskType"
                                        ng-options="opt.value as opt.name for opt in options.checkTaskType"
                                        required>
                                    <option value="">-- 任务类型 --</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<div ed-modal="checkTaskHasSelectModal" data-options="width:'1000px',title:'检查信息', static:true,icon: 'fa-user'">
    <div style="padding: 5px;width: 100%;overflow: auto;height:550px;">
        <div class="portlet">
            <div class="portlet-body" style="height: 500px;">
                <tabset>
                    <tab heading="检查项">
                        <div class="portlet">
                            <div class="portlet-body">
                                <table class="table table-striped table-bordered table-hover dataTable" style="margin-left : 10%;width: 80%;">
                                    <thead>
                                    <tr>
                                        <th style="text-align: center;width: 50px;">请选择</th>
                                        <th style="text-align: center;">检查项</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr ng-repeat="template in templateList">
                                        <td style="text-align: center">
                                            <input type="checkbox" name="templateRadio" ng-checked="template.showChecked"
                                                   style="padding-top: 5px;" ng-click="checkTaskHasSelectModal.checkTemplate($event,template)">
                                        </td>
                                        <td style="text-align: center">
                                            <span style="position: relative;top: -2px;left: 5px;">{{template.templateName}}</span>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </tab>

                    <tab heading="明细信息">
                        <div class="portlet">
                            <div class="portlet-title" id="searchTitle">
                                <a href="javascript:void(0);" class="title-operation search-expand">筛选</a>
                                <button class="btn btn-success title-action" ng-click="checkTaskHasSelectModal.selectData()"
                                        tabindex="0">
                                    <i class="fa fa-plus"></i> 选择数据
                                </button>
                            </div>

                            <div class="portlet-search-body searchDiv" style="display: none;" ng-show="checkTask.taskType == '1'">
                                <form class="form-inline" role="form">
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input style="width: 180px;" class="form-control" placeholder="自编号" ng-model="taskItemGrid.query.vehicleNo">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input style="width: 180px;" class="form-control" placeholder="车牌号" ng-model="taskItemGrid.query.plateNo">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input style="width: 180px;" class="form-control" placeholder="线路号" ng-model="taskItemGrid.query.lineNo">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-bus"></i>
                                                <select class="form-control" style="width: 180px;color: #b3b3b3;"
                                                        ng-model="taskItemGrid.query.companyId"
                                                        ng-options="opt.companyId as opt.companyName for opt in companys">
                                                    <option value="">营运公司</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;padding-left: 15px;">
                                        <button class="btn btn-primary" ng-click="dynamicQuery();">
                                            <i class="fa fa-search"></i> 搜索
                                        </button>
                                        <button class="btn btn-primary" ng-click="reset()">
                                            <i class="fa fa-rotate-left"></i> 重置
                                        </button>
                                    </div>

                                    <!--<button class="btn btn-primary" ng-click="dynamicQuery();">-->
                                        <!--<i class="fa fa-search"></i> 搜索-->
                                    <!--</button>-->
                                    <!--<button class="btn btn-primary" ng-click="reset()">-->
                                        <!--<i class="fa fa-rotate-left"></i> 重置-->
                                    <!--</button>-->
                                </form>

                            </div>

                            <div class="portlet-search-body searchDiv" style="display: none;" ng-show="basicItemType == '2'">

                                <form class="form-inline" role="form">

                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input class="form-control" placeholder="站点名称" ng-model="taskItemGrid.query.stopName">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input class="form-control" placeholder="街道" ng-model="taskItemGrid.query.roadName">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input class="form-control" placeholder="行向" ng-model="taskItemGrid.query.direction">
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn btn-primary" ng-click="dynamicQuery();">
                                        <i class="fa fa-search"></i> 搜索
                                    </button>
                                    <button class="btn btn-primary" ng-click="reset()">
                                        <i class="fa fa-rotate-left"></i> 重置
                                    </button>
                                </form>

                            </div>

                            <div class="portlet-search-body searchDiv" style="display: none;" ng-show="basicItemType == '3'">
                                <form class="form-inline" role="form">

                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input class="form-control" placeholder="上刊单编号" ng-model="taskItemGrid.query.billNo">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-lightbulb-o"></i>
                                                <input class="form-control" placeholder="资源编号" ng-model="taskItemGrid.query.resourceCode">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">
                                        <div class="col-md-2">
                                            <div class="input-icon">
                                                <i class="fa fa-bus"></i>
                                                <select class="form-control" style="width: 200px;color: #b3b3b3;"
                                                        ng-model="taskItemGrid.query.mediaType"
                                                        ng-options="opt.mediaId as opt.mediaName for opt in mediaTypes">
                                                    <option value="">媒体类型</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn btn-primary" ng-click="dynamicQuery();">
                                        <i class="fa fa-search"></i> 搜索
                                    </button>
                                    <button class="btn btn-primary" ng-click="reset()">
                                        <i class="fa fa-rotate-left"></i> 重置
                                    </button>
                                </form>
                            </div>

                            <div class="form" style="height: 480px">
                                <div class="portlet-body" style="width: 100%">
                                    <div style="width: 99%;margin-left: 4px;" ed-grid-dynamic="taskItemGrid" ed-url="checkTask/dynamicData.do"></div>
                                </div>
                            </div>
                        </div>
                    </tab>
                </tabset>
            </div>
        </div>
    </div>

</div>

<div ed-modal="checkTaskConfigModal" data-options="width:'900px',title:'配置明细', static:true,icon: 'fa-user'">
    <div style="padding: 5px;width: 100%;overflow: auto;height:500px;">
        <div class="portlet" ng-show="checkTask.taskType == '1'">
            <div class="portlet-search-body" style="display: inline;">
                <form class="form-inline" role="form">
                    <div class="form-group">
                        <div class="col-md-2">
                            <div class="input-icon">
                                <i class="fa fa-bus"></i>
                                <select class="form-control" style="color: #b3b3b3;" ng-model="busCheckGrid.query.companyId" ng-options="opt.companyId as opt.companyName for opt in companys">
                                    <option value="" >--营运公司 --</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-bus"></i>
                                <input class="form-control" placeholder="线路号" ng-model="busCheckGrid.query.lineNo">
                            </div>
                        </div>
                    </div>
                    <button class="btn btn-primary" ng-click="busCheckGrid.searchData()"><i
                            class="fa fa-search"></i> 搜索
                    </button>
                    <button class="btn btn-primary" ng-click="busCheckGrid.reset()">
                        <i class="fa fa-rotate-left"></i> 重置
                    </button>
                </form>
            </div>
            <div class="portlet-body" style="width: 100%">
                <table ed-grid="busCheckGrid" class="table table-striped table-bordered table-hover dataTable"
                       ed-url="media/bus/query.do" ed-model="busCheck" style="width: 100%">
                    <thead>
                    <tr>
                        <th ed-data="_checkbox" ed-id="itemId"></th>
                        <th ed-data="plateNo">车牌号</th>
                        <th ed-data="vehicleNo">自编号</th>
                        <th ed-data="lineNo">线路</th>
                        <th ed-data="companyName">营运公司</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>

        <div class="portlet" ng-show="checkTask.taskType == '2'">
            <div class="portlet-search-body" style="display: inline;">
                <form class="form-inline" role="form">
                    <div class="form-group">
                        <div class="col-md-2">
                            <div class="input-icon">
                                <i class="fa fa-lightbulb-o"></i>
                                <input class="form-control" placeholder="站点名称" ng-model="stopCheckGrid.query.stopName">
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-lightbulb-o"></i>
                                <input class="form-control" placeholder="街道" ng-model="stopCheckGrid.query.roadName">
                            </div>
                        </div>
                    </div>
                    <button class="btn btn-primary" ng-click="stopCheckGrid.searchData()"><i
                            class="fa fa-search"></i> 搜索
                    </button>
                    <button class="btn btn-primary" ng-click="stopCheckGrid.reset()">
                        <i class="fa fa-rotate-left"></i> 重置
                    </button>
                </form>
            </div>
            <div class="portlet-body" style="width: 100%">
                <table ed-grid="stopCheckGrid" class="table table-striped table-bordered table-hover dataTable"
                       ed-url="media/stop/query.do" ed-model="stopCheck" style="width: 100%">
                    <thead>
                    <tr>
                        <th ed-data="_checkbox" ed-id="itemId"></th>
                        <th  ed-data="stopName">站点名称</th>
                        <th  ed-data="county | code:'AREA_COUNTY'">区域</th>
                        <th  ed-data="roadName" >街道</th>
                        <th  ed-data="direction">行向</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
        <div class="portlet" ng-show="checkTask.taskType == '3'">
            <div class="portlet-search-body" style="display: inline;">
                <form class="form-inline" role="form">
                    <div class="form-group">
                        <div class="col-md-2">
                            <div class="input-icon">
                                <i class="fa fa-lightbulb-o"></i>
                                <input class="form-control" placeholder="上刊单编号" ng-model="adCheckGrid.query.billNo">
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-lightbulb-o"></i>
                                <input class="form-control" placeholder="经营单位" ng-model="adCheckGrid.query.customerName">
                            </div>
                        </div>
                    </div>
                    <button class="btn btn-primary" ng-click="adCheckGrid.searchData()"><i
                            class="fa fa-search"></i> 搜索
                    </button>
                    <button class="btn btn-primary" ng-click="adCheckGrid.reset()">
                        <i class="fa fa-rotate-left"></i> 重置
                    </button>
                </form>
            </div>
            <div class="portlet-body" style="width: 100%">
                <table ed-grid="adCheckGrid" class="table table-striped table-bordered table-hover dataTable"
                       ed-url="checkTask/adCheckCheckTaskQuery.do" ed-model="adCheck" style="width: 100%">
                    <thead>
                    <tr>
                        <th ed-data="_checkbox" ed-id="itemId"></th>
                        <th  ed-data="billNo">上刊单号</th>
                        <th  ed-data="mediaName">媒体类型</th>
                        <th  ed-data="customerName">经营单位</th>
                        <th  ed-data="content" >广告内容</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>

    </div>
</div>



<!--<div ed-modal="taskItemModal" data-options="width:'1200px',title:'任务明细', static:true,icon: 'fa-user',defaultButton:false">-->
    <!--<div class="portlet">-->
        <!--<div class="portlet-title" id="searchTitle">-->
            <!--<a href="javascript:void(0);" class="title-operation search-expand">筛选</a>-->

            <!--<div class="title-search-box">-->
                <!--<input type="text" placeholder="请输入任务名称" class="search-field"-->
                       <!--style="width: 180px;" maxlength="100" ng-model="taskItemGrid.query.quickSearchName">-->
                <!--<a class="fa fa-search" ng-click="taskItemGrid.quickQuery()"></a>-->
            <!--</div>-->
        <!--</div>-->

        <!--<div class="portlet-search-body searchDiv" style="display: none;" ng-show="basicItemType == '1'">-->
            <!--<form class="form-inline" role="form">-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="自编号" ng-model="taskItemGrid.query.vehicleNo">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="车牌号" ng-model="taskItemGrid.query.plateNo">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="线路号" ng-model="taskItemGrid.query.lineNo">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-bus"></i>-->
                            <!--<select class="form-control" style="width: 200px;color: #b3b3b3;"-->
                                    <!--ng-model="taskItemGrid.query.companyId"-->
                                    <!--ng-options="opt.companyId as opt.companyName for opt in companys">-->
                                <!--<option value="">营运公司</option>-->
                            <!--</select>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--&lt;!&ndash;<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">&ndash;&gt;-->
                    <!--&lt;!&ndash;<div class="col-md-2">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="input-icon">&ndash;&gt;-->
                            <!--&lt;!&ndash;<button class="btn btn-primary" ng-click="dynamicQuery();">&ndash;&gt;-->
                                <!--&lt;!&ndash;<i class="fa fa-search"></i> 搜索&ndash;&gt;-->
                            <!--&lt;!&ndash;</button>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--<button class="btn btn-primary" ng-click="dynamicQuery();">-->
                    <!--<i class="fa fa-search"></i> 搜索-->
                <!--</button>-->
                <!--<button class="btn btn-primary" ng-click="reset()">-->
                    <!--<i class="fa fa-rotate-left"></i> 重置-->
                <!--</button>-->
            <!--</form>-->

        <!--</div>-->

        <!--<div class="portlet-search-body searchDiv" style="display: none;" ng-show="basicItemType == '2'">-->

            <!--<form class="form-inline" role="form">-->
                <!-- -->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="站点名称" ng-model="taskItemGrid.query.stopName">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="街道" ng-model="taskItemGrid.query.roadName">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="行向" ng-model="taskItemGrid.query.direction">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--&lt;!&ndash;<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">&ndash;&gt;-->
                    <!--&lt;!&ndash;<div class="col-md-4">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="input-icon">&ndash;&gt;-->
                            <!--&lt;!&ndash;<button class="btn btn-primary" ng-click="dynamicQuery();"><i class="fa fa-search"></i> 搜索&ndash;&gt;-->
                            <!--&lt;!&ndash;</button>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--<button class="btn btn-primary" ng-click="dynamicQuery();">-->
                    <!--<i class="fa fa-search"></i> 搜索-->
                <!--</button>-->
                <!--<button class="btn btn-primary" ng-click="reset()">-->
                    <!--<i class="fa fa-rotate-left"></i> 重置-->
                <!--</button>-->
            <!--</form>-->

        <!--</div>-->

        <!--<div class="portlet-search-body searchDiv" style="display: none;" ng-show="basicItemType == '3'">-->
            <!--<form class="form-inline" role="form">-->
                <!-- -->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="上刊单编号" ng-model="taskItemGrid.query.billNo">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-lightbulb-o"></i>-->
                            <!--<input class="form-control" placeholder="资源编号" ng-model="taskItemGrid.query.resourceCode">-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">-->
                    <!--<div class="col-md-4">-->
                        <!--<div class="input-icon">-->
                            <!--<i class="fa fa-bus"></i>-->
                            <!--<select class="form-control" style="width: 200px;color: #b3b3b3;"-->
                                    <!--ng-model="taskItemGrid.query.mediaType"-->
                                    <!--ng-options="opt.mediaId as opt.mediaName for opt in mediaTypes">-->
                                <!--<option value="">媒体类型</option>-->
                            <!--</select>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--&lt;!&ndash;<div class="form-group" style="padding-top: 5px;padding-bottom: 5px;">&ndash;&gt;-->
                    <!--&lt;!&ndash;<div class="col-md-4">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="input-icon">&ndash;&gt;-->
                            <!--&lt;!&ndash;<button class="btn btn-primary" ng-click="dynamicQuery();"><i class="fa fa-search"></i> 搜索&ndash;&gt;-->
                            <!--&lt;!&ndash;</button>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--<button class="btn btn-primary" ng-click="dynamicQuery();">-->
                    <!--<i class="fa fa-search"></i> 搜索-->
                <!--</button>-->
                <!--<button class="btn btn-primary" ng-click="reset()">-->
                    <!--<i class="fa fa-rotate-left"></i> 重置-->
                <!--</button>-->
            <!--</form>-->
        <!--</div>-->

        <!--<div class="form" style="height: 480px">-->
            <!--<div class="portlet-body" style="width: 100%">-->
                <!--<div style="width: 99%;margin-left: 4px;" ed-grid-dynamic="taskItemGrid" ed-url="checkTask/dynamicData.do"></div>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->

<div ed-modal="checkItemMore"
     data-options="title:'检查结果',icon:'fa-bus',static:true,width:'700px',defaultButton:false">
    <div style="padding: 5px;width: 100%;overflow: auto;height:300px;">
        <div class="portlet">
            <div class="portlet-body">
                <div class="form-body">
                    <table class="table table-striped table-bordered table-advance table-hover">
                        <thead style="text-align: center">
                        <th style="text-align: center">检查项</th>
                        <th style="text-align: center">检查结果</th>
                        </thead>
                        <tbody>
                        <tr style="text-align: center" ng-repeat="result in checkResultList">
                            <td>{{result.templateName}}</td>
                            <td ng-show="result.templateValue">{{result.templateValue}}</td>
                            <td ng-show="!result.templateValue">未做检查</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

    </div>
</div>

<div ed-modal="checkItemMoreModal" data-options="title:'检查详情',width:'600px', static:true,icon: 'fa-user',defaultButton:false">
    <div class="form" style="overflow: auto;height: 300px;">
        <form action="#" class="form-horizontal form-row-seperated">
            <div class="form-body">
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group">
                            <label class="col-md-3 control-label">描述：</label>
                            <div class="col-md-8">
                                <p class='form-control-static'>{{checkResultMore.comment}}</p>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group">
                            <label class="col-md-3 control-label">图片：</label>
                            <div class="col-md-8">
                                <p class='form-control-static' ng-show="checkResultMore.path != undefined && checkResultMore.path != ''">
                                    <img ng-src="{{nginxPath}}{{checkResultMore.path}}" style="width: 100px;height: 100px;">
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
                <!--<div class="row">-->
                    <!--<div class="col-md-6">-->
                        <!--<div class="form-group">-->
                            <!--<label class="col-md-4 control-label">合同金额：</label>-->
                            <!--<div class="col-md-8">-->
                                <!--<p class='form-control-static'>{{contractViewModal.contract.contractAmount}}(￥)</p>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
            </div>
        </form>
    </div>
</div>




